package com.nobrain.uboard.Util;

import android.content.Context;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;

public class PreferenceUtil {
	
	private final static String FACEBOOK = "facebook";
	private final static String TOKEN = "token";
	
	public static void putFaceBookToken(Context c, String token){
		SharedPreferences mSharedPreferences = c.getSharedPreferences(FACEBOOK, Context.MODE_PRIVATE);
		
		Editor editor= mSharedPreferences.edit();
		
		editor.putString(TOKEN, token);
		editor.commit();
	}
}
